package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
//
//import javax.persistence.GeneratedValue;
//import javax.persistence.GenerationType;
//import javax.persistence.Id;
//import javax.persistence.Table;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_spec")
public class Spec {
    //@TableId()
    //@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;//ID
    private String name;//名称
    private String options;//规格选项
    private Integer seq;//排序
}
